import { T_sendWsMsgParams, T_wsMsg } from '@/obj/class/arg/msg';
import { T_srv, Tsrv, ifs, ts, vue } from '@/services';
import { N_oSendMessage } from './types';

class T_cmd {
  // 主组件箱
  private compBox: ifs.I_compBox;

  // 主组件ID
  private compID: string;

  // 主组件实例
  private self: N_oSendMessage.oSendMessage;

  // 主组件created里初始化
  public init(self: any, compBoxInfo: ifs.I_compBoxInfo) {
    this.self = self;
    this.compBox = compBoxInfo.TcompBox;
    this.compID = compBoxInfo.compID;
  }
}
interface I_cmd extends T_cmd {}
export {
  I_cmd,
  T_cmd,
  T_sendWsMsgParams,
  T_srv,
  T_wsMsg,
  Tsrv,
  ifs,
  ts,
  vue,
  N_oSendMessage
};
